package org.tinaelle.client.utils;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.gwtext.client.widgets.MessageBox;

public abstract class DefaultAsyncCallback<T> implements AsyncCallback<T> {

	public void onFailure(final Throwable arg0) {
		MessageBox.alert( ExceptionTool.extractUserMessage( arg0 ) );
	}

}
